package com.wuyou.service.impl;

import com.wuyou.entity.TbHouse;
import com.wuyou.mapper.TbHouseMapper;
import com.wuyou.service.ITbHouseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yz
 * @since 2022-09-30
 */
@Service
public class TbHouseServiceImpl extends ServiceImpl<TbHouseMapper, TbHouse> implements ITbHouseService {

    @Autowired
    private TbHouseMapper houseMapper;

    @Override
    public TbHouse selectById(Long houseId) {
        TbHouse house = houseMapper.selectById(houseId);
        return house;
    }
}
